
class ENTITY
{
private:
	char name[32];
	int gold;
	int experience;
	int health;
	int maxhealth;
	int mana;
	int maxmana;

	bool poisoned;
	bool ismonster;
public:
	bool SetName(char* newname);
	char* GetName();
	void SetGold(int newgold);
	void AddGold(int amount);
	void SpendGold(int amount);
	int GetGold();
	void SetExperience(int newexperience);
	void AddExperience(int amount);
	int GetExperience();
	void SetHealth(int newhealth);
	void AddHealth(int amount);
	void LoseHealth(int amount);
	int GetHealth();

	void SetMaxHealth(int newmaxhealth);
	int GetMaxHealth();
	void SetMana(int newmana);
	void AddMana(int amount);
	void LoseMana(int amount);
	int GetMana();
	void SetMaxMana(int newmana);
	int GetMaxMana();
	void SetPoisoned(bool value);
	bool IsPoisoned();
	void SetMonster(bool value);
	bool IsMonster();
};